requestDragAndDropPermissions
open fun requestDragAndDropPermissions(@NonNull activity: Activity, @NonNull dragEvent: DragEvent): DragAndDropPermissionsCompat(source)
Create DragAndDropPermissionsCompat object bound to this activity and controlling the access permissions for content URIs associated with the android.view.DragEvent.
Return
The DragAndDropPermissionsCompat object used to control access to the content URIs. null
if no content URIs are associated with the event or if permissions could not be granted.
Parameters
activity
activity for which to request the permission.
dragEvent
Drag event to request permission for